<template>
	<view class="content_Sixteen">
		<view class="content_Sixteen_name">{{$t('产品介绍')}}</view>
		<view class="content_Sixteen_block">
			<scroll-view class="scroll-view_H" scroll-x="true" v-if="message.product_image&&message.product_image.length > 0">
				<view @click="handeleChange(item)" class="scroll-view-item_H" v-for="(item,index) in message.product_image" :key="index">
					<image class="content_Seven_imgs" :src="IMAGE_URL+item" mode="heightFix"></image>
				</view>
			</scroll-view>
			<view v-else class="content-zw">{{$t('暂无信息')}}</view>
		</view>
	</view>
</template>

<script>
	import {
		IMAGE_URL,
		HTTP_IMG_UTL
	} from '@/config/app';
	export default {
		props: ['message','lang'],
		data() {
			return {
				IMAGE_URL,
				HTTP_IMG_UTL,
				list: [
					'https://cdn.uviewui.com/uview/album/1.jpg',
					'https://cdn.uviewui.com/uview/album/2.jpg',
					'https://cdn.uviewui.com/uview/album/3.jpg',
				]
			}
		},
		onLoad() {
			// this.list.length
		},
	}
</script>

<style scoped>
	.content-zw{
		width: 100%;
		height: 100%;
		display: flex;
		align-items: center;
		justify-content: center;
		font-size: 24rpx;
		color: #999999;
	}
	.content_Seven_imgs {
		width: 261rpx;
		height: 173rpx;
		border-radius: 15rpx 15rpx 15rpx 15rpx;
	}

	.scroll-view-item_H {
		display: inline-block;
		width: 261rpx;
		height: 173rpx;
		font-size: 36rpx;
		margin-right: 12rpx;
		border-radius: 16rpx;
		/* border: 2rpx solid #F0F0F0; */
	}

	.scroll-view_H {
		white-space: nowrap;
		width: 100%;
		height: 173rpx;
	}

	.content_Sixteen_block {
		width: 100%;
		height: 173rpx;
	}

	.content_Sixteen_name {
		font-weight: 500;
		font-size: 30rpx;
		color: #3D3D3D;
		margin-bottom: 24rpx;
	}

	.content_Sixteen {
		margin-top: 12rpx;
		padding: 34rpx 60rpx 67rpx 60rpx;
		width: 750rpx;
		height: 326rpx;
		background: #FFFFFF;
		border-radius: 16rpx 16rpx 16rpx 16rpx;
	}
</style>